package com.smartcampusbackend.mapper;

import com.smartcampusbackend.model.AnnouncementAttachment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface AnnouncementAttachmentMapper {
    int insertAttachment(AnnouncementAttachment attachment);
    List<AnnouncementAttachment> selectAttachmentsByAnnouncementId(@Param("announcementId") Integer announcementId);
    int deleteAttachmentsByAnnouncementId(@Param("announcementId") Integer announcementId);
} 